package summer_vacation.liulee.month7.day20150729;
import java.util.Scanner;
/**
 * Created by Administrator on 2015/7/29.
 */
public class Java23 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("请输入成绩：");
        int i=input.nextInt();
        if(i>=90){
            System.out.println("等级为A");}
           else if (i>=80){
                System.out.println("等级为B");}
               else if(i>=70){
                    System.out.println("等级为C");}
                   else if(i>=60){
                        System.out.println("等级为D");
        }
        else{
            System.out.println("等级为E");
        }
    }
}
